/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package br.ufba.lasid.v1.jitclouds.mda.datatypes;

import java.util.ArrayList;

/**
 *
 * @author aliriosa
 */
public class BasicDataCenter extends ArrayList<ICluster> implements IDataCenter {
    
    private String dsDC = null;
    private String idDC = null;
    private ICloud cloud = null;
   

    @Override
    public void setID(String dcID) {
        this.idDC = dcID;
    }

    @Override
    public void setDescription(String description) {
        this.dsDC = description;
    }

    @Override
    public String getID() {
        return this.idDC;
    }

    @Override
    public String getDescription() {
        return this.dsDC;
    }

    @Override
    public void setCloud(ICloud cloud) {
        this.cloud = cloud;
    }

    @Override
    public ICloud getCloud() {
        return this.cloud;
    }

    @Override
    public void addCluster(ICluster nc) {
        nc.setDataCenter(this);
        add(nc);
    }
    
}
